<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<shield:permssion type="button">
<div >
	<!-- t改为shieldTarget，且为jQuery选择器形式 -->
    <form action="${ctxPathA}/usercenter/sysusertemp/search" method="post" shieldTarget="#searchResult" class="searchForm">
    	<shield:token/>
        <div class="search-box">
		    <span class="search-i"><b>账号名称：</b><input type="text" name="<shield:encrypt value="like_accountName"/>"/></span>
            <span class="search-i">
	            <input class="submit" type="submit" name="doSearch" value="查询">
	            <!-- href改为data-url -->
	            <a data-url="${ctxPathA }/usercenter/sysusertemp/toAddOrUpdate" class="shieldDialog" viewTitle="添加临时账号" viewWidth="450">
	            	<input class="addBaseTable" type="button" name="addBaseTable" value="添加">
	            </a>
	            <span class="tips">临时账号与主账号相同权限，可在不泄露主账号密码的前提下进行一些操作，每个主账号最多创建3个临时账号。</span>
            </span>
        </div>
        <div id="searchResult"></div>
    </form>
</div>
</shield:permssion>